package com.atguigu.srb.base.service;

import com.atguigu.srb.base.domain.UserInfo;
import com.atguigu.srb.base.model.UserInfoQuery;
import com.atguigu.srb.base.model.vo.LoginVO;
import com.atguigu.srb.base.model.vo.RegisterVO;
import com.atguigu.srb.base.model.vo.UserInfoVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description TODO
 * @Classname UserInfoService
 * @Date 2022/11/23 16:15
 * @Created by 16342
 * @Author wangchengshan
 */
public interface UserInfoService  extends IService<UserInfo> {

    UserInfoVO login(LoginVO loginVO, String ip);

    void register(RegisterVO registerVO);

    IPage<UserInfo> listPage(Page<UserInfo> pageParam, UserInfoQuery userInfoQuery);
}
